package com.platform.mall.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.platform.mall.model.dto.DictDetailDto;
import com.platform.mall.model.dto.DictDetailQueryParam;
import com.platform.mall.model.entity.SysDictDetail;
import org.springframework.data.domain.Pageable;

import java.util.List;


public interface ISysDictDetailService extends IService<SysDictDetail> {

    IPage<SysDictDetail> findForPage(DictDetailQueryParam query, Pageable pageable);

    List<DictDetailDto> getDictByName(String name);

}
